package com.javabean;

public class Circle {
	private float radius;

	public float getRadius() {
		return radius;
	}

	public void setRadius(float radius) {
		this.radius = radius;
	}

	public Circle() {
		
	}

	public Circle(float radius) {
		this.radius = radius;
	}
	
	public float getArea() {
		return (float) (Math.PI*radius*radius);
	}
	
	public float getPerimeter() {
		return (float) (2*Math.PI*radius);
	}
}
